<!DOCTYPE html>
<html lang="en">
{% block head %}
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>
            {% block title %}
                管理后台
                {% endblock %}
        </title>
        <!--STYLESHEET-->
        <!--=================================================-->
        <!--Open Sans Font [ OPTIONAL ]-->
        {% block css %}
{#            <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet'#}
{#                  type='text/css'>#}
            <link href='/static/googleapis/fonts.css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
            <!--Bootstrap Stylesheet [ REQUIRED ]-->
            <link href="/static/css/bootstrap.min.css" rel="stylesheet">
            <!--Nifty Stylesheet [ REQUIRED ]-->
            <link href="/static/css/nifty.min.css" rel="stylesheet">
            <!--Nifty Premium Icon [ DEMONSTRATION ]-->
            <link href="/static/css/demo/nifty-demo-icons.min.css" rel="stylesheet">
            <!--Demo [ DEMONSTRATION ]-->
            <link href="/static/css/demo/nifty-demo.min.css" rel="stylesheet">
            <!--Morris.js [ OPTIONAL ]-->
            <link href="/static/plugins/morris-js/morris.min.css" rel="stylesheet">
            <!--Magic Checkbox [ OPTIONAL ]-->
            <link href="/static/plugins/magic-check/css/magic-check.min.css" rel="stylesheet">
            <!--JAVASCRIPT-->
            <!--=================================================-->
            <!--Pace - Page Load Progress Par [OPTIONAL]-->
            <link href="/static/plugins/pace/pace.min.css" rel="stylesheet">
            <link href="/static/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet">
            <link rel="icon" href="{{ url_for('static', filename='img/favicon.ico') }}"  type="image/x-icon">
        {% endblock %}
    </head>
{% endblock %}
<!--TIPS-->
<!--You may remove all ID or Class names which contain "demo-", they are only used for demonstration. -->
<body>
<div id="container" class="effect aside-float aside-bright mainnav-lg">
    <!--NAVBAR-->
    <!--===================================================-->
    {% include 'admin/includes/header.html' %}
    <!--===================================================-->
    <!--END NAVBAR-->
    <div class="boxed">
        <!--CONTENT CONTAINER-->
        <!--===================================================-->
        <div id="content-container">

            <!--Page Title-->
            <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
{#            <div id="page-title">#}
{#                <h1 class="page-header text-overflow">仪表板</h1>#}
{#            </div>#}
            <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
            <!--End page title-->

            <!--Page content-->
            <!--===================================================-->
            <div id="page-content">

                {% block page_title %}
                {% endblock %}
                {% for category, message in get_flashed_messages(with_categories=true) %}
                    <div class="alert alert-{{ category }} alert-dismissable">
                        {{ message }}
                        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                    </div>
                {% endfor %}
                {% block admin_content %}

                {% endblock %}

            </div>
            <!--===================================================-->
            <!--End page content-->


        </div>
        <!--===================================================-->
        <!--END CONTENT CONTAINER-->

        <!--ASIDE-->
        <!--===================================================-->
        {#        {% include 'aside.html' %}#}
        <!--===================================================-->
        <!--END ASIDE-->
        <!--MAIN NAVIGATION-->
        <!--===================================================-->
        {% include 'admin/includes/main-nav.html' %}
        <!--===================================================-->
        <!--END MAIN NAVIGATION-->
    </div>
    <!-- FOOTER -->
    <!--===================================================-->
    {% include 'admin/includes/footer.html' %}
    <!--===================================================-->
    <!-- END FOOTER -->
    <!-- SCROLL PAGE BUTTON -->
    <!--===================================================-->
    <button class="scroll-top btn">
        <i class="pci-chevron chevron-up"></i>
    </button>
    <!--===================================================-->
</div>
<!--===================================================-->
<!-- END OF CONTAINER -->

<!-- SETTINGS - DEMO PURPOSE ONLY -->
<!--===================================================-->
{% include 'admin/includes/settings.html' %}
<!--===================================================-->
<!-- END SETTINGS -->
<script src="{{ url_for('static', filename='js/jquery-2.2.4.min.js') }}"></script>
<script src="{{ url_for('static', filename='plugins/pace/pace.min.js') }}"></script>
<!--jQuery [ REQUIRED ]-->
<!--BootstrapJS [ RECOMMENDED ]-->
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
<!--NiftyJS [ RECOMMENDED ]-->
<script src="{{ url_for('static', filename='js/nifty.min.js') }}"></script>
<!--=================================================-->
<!--Demo script [ DEMONSTRATION ]-->
<script src="{{ url_for('static', filename='js/demo/nifty-demo.min.js') }}"></script>

{% block script %}
    <script src="{{ url_for('static', filename='js/admin.js') }}"></script>
{% endblock %}
</body>
</html>
